/**
 Signal and Slot for Java
 Copyright (C) 2003 Thia Yeo Ching (tycordinal@yahoo.co.uk)
 http://sourceforge.net/projects/javasignalslot/

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

package org.arclib.signal;

/**
 * Author: Thia Yeo Ching, tycordinal@yahoo.co.uk
 * Date: Mar 27, 2003
 * Time: 12:46:55 AM
 */
public class PrimitiveWrapper
{
  public static Boolean wrap(boolean v)
  {
    return new Boolean(v);
  }

  public static Character wrap(char v)
  {
    return new Character(v);
  }

  public static Byte wrap(byte v)
  {
    return new Byte(v);
  }
  public static Short wrap(short v)
  {
    return new Short(v);
  }
  public static Integer wrap(int v)
  {
    return new Integer(v);
  }
  public static Long wrap(long v)
  {
    return new Long(v);
  }
  public static Float wrap(float v)
  {
    return new Float(v);
  }
  public static Double wrap(double v)
  {
    return new Double(v);
  }

}
